<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
      <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
              <title>Facebook Connect</title>
              <link rel="stylesheet" type="text/css" media="screen" href="form.css" />
              
			  
      </head>
      <body style="padding: 40px; font-family: Arial;">
              <div class="comment Form">
                      <div id="user">
                              <label for="name">Name</label>
                              <input type="text" name="name" />
                             
                              veya facebook ile baglanabilirsiniz <fb:login-button length="long" onlogin="update_user_box();"></fb:login-button>
                      </div>
                      <div>
                              <label for="message">Message</label>
                              <textarea name="message"></textarea>
                      </div>
              </div>
			  <script type="text/javascript"> 
			  function update_user_box() { 
			  var user_box = document.getElementById("user"); // add in some XFBML. note that we set useyou=false so it doesn't display "you" 
			  user_box.innerHTML = "<span>" 
			  + "<fb:profile-pic uid=loggedinuser facebook-logo=true></fb:profile-pic>" 
			  + "Welcome, <fb:name uid=loggedinuser useyou=false></fb:name>. You are signed in with your Facebook account." 
			  + "</span>"; // because this is XFBML, we need to tell Facebook to re-process the document 
			  FB.XFBML.Host.parseDomTree(); 
			  } 
			  </script> 
			  <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
              <script type="text/javascript">
                      FB.init("270ff0b120b48fe834b53ba12671f68c", "xd_receiver.html", {"ifUserConnected" : update_user_box});
                      </script>
      </body>
      </html>